package com.levy.common.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class AdminController {
	
	private Logger logger = LoggerFactory.getLogger(AdminController.class);  
 
	
	@RequestMapping(value="/admin1", method = RequestMethod.GET)
	public String admin1(ModelMap model) {
		logger.debug("this is admin page");
		return "admin1";
 
	}	
	
	@RequestMapping(value="/admin2", method = RequestMethod.GET)
	public String admin2(ModelMap model) {
		logger.debug("this is admin page");
		return "admin2";
 
	}	
}